<?php
namespace Home\Controller;
use Think\Controller;
class CourseController extends CommonController {

    //显示课程列表
    public function CourseList(){

        $course=M('course');
        $this -> CourseList = $course->select();

        //显示编号
//        $cnt = 1;
//        $this -> assign('cnt',$cnt);

        $this -> display();
    }











}